package cc.yugu.yhdw.common.domain.basic;

import cc.yugu.yhdw.common.domain.IntIdEntity;
/**
 * 字典分类实体类
 *
 * @Date:Created in 2018/7/25 11:06
 * @Author:
 * @Modified By: zjn 2018/7/25 11:06
 */
public class DictCategory extends IntIdEntity {

    public enum CategoryType {
        THING(1, "物品分类"),
        REFUSE(2, "拒揽原因"),
        CANCEL(3,"退件原因");

        private final int value;
        private final String name;

        private CategoryType(int value,String name) {
            this.value = value;
            this.name = name;
        }

        public int getValue() {
            return value;
        }

        public String getName() {
            return name;
        }
    }

    String categoryName;//分类名称

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
}
